cleanup defs.h orgainizing route and waypt elemements. (#200)
authortsteven4 <tsteven4@users.noreply.github.com>
Mon, 18 Jun 2018 23:07:37 +0000 (17:07 -0600)
committerGitHub <noreply@github.com>
Mon, 18 Jun 2018 23:07:37 +0000 (17:07 -0600)
commitfb61ad3f74260936e700e4e13dfde89d5168e393
treecde62bbe3d40caa28c52c1a078d3bf6d5682f800
parent8ff660d134cd87ac9ac51e10d49c103c4cf47ead
cleanup defs.h orgainizing route and waypt elemements. (#200)

The following prototypes were deleted, they had no definitions:
waypt_free
waypt_dupe
waypt_new
route_add
waypt_alloc_gc_data
waypt_empty_gc_data

The following functions were never used, and they had no prototypes:
void routes_to_tracks();
void tracks_to_routes();

The following function had a repeated prototype:
route_flush

The following function is missing a prototype but is explictly listed by the using file:
update_common_traits

In addition to resolving the above issues, some sections of defs.h
were moved based on if they came from waypt.cc or route.cc,
when they were required, and grouping of similar elements.
defs.h
route.cc